package com.ra.mapper;

import com.ra.pojo.dto.ArticleSearchDTO;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Author : 今晚几点睡_Ada
 * Date: 2023/3/23
 * Time: 19:38
 * 注:
 */
@SuppressWarnings("all")
public interface ElasticsearchMapper extends ElasticsearchRepository<ArticleSearchDTO,Integer>{

    List<ArticleSearchDTO> findByArticleTitleOrArticleContent(String keywords);
}
